<?php defined('SYSPATH') or die('No direct script access.');
class Articles_Controller extends Template_Controller {
	public $model;
	public $tag_cloud;

	public function __construct(){
		parent::__construct();
		$this->title = 'Nowy Artykuł';
		$this->desc = 'kkkk';
		$this->keywords = 'kkhhhhh';
	}
	function index(){

		$post = $this->input->post();
		
		if(!empty($post['save'])) {
			
			echo $post['elm1'];
		}
			$this->template->content = new View('article');
		
		
		
	//if(){
		//echo 'dupa' ;
	//}
	
	}

	

}
